// page/coachs/course/testcar.js
Page({
    data: {
        isHide: false
    },
    onLoad: function (options) {
        var that = this
        that.setData({
            isHide: true,
            student: {
                avatar: "/images/userface.jpg", name: "李晓航", sex: 1  //0为男，1为女
            },
            course: {
                subject: "倒桩入库",
                price: "1次/¥50",
                name: "李达达",
                phone: "13422342564",
                site: "新店后村练车的（翔安区）",
                pickup: "需要接送",
                drink: "无"
            }
        })
    },
    makePhone: function () {
        wx.makePhoneCall({
            phoneNumber: this.data.course.phone //仅为示例，并非真实的电话号码
        })
    }
})